<template>
  <div class="home">
    <main>
      <router-view />
    </main>
    <footer>
      <router-link to="/first">首页</router-link>
      <router-link to="/two">商品</router-link>
      <router-link to="/tree">信息</router-link>
      <router-link to="/four">我的</router-link>
    </footer>
  </div>
</template>

<script>
export default {

  
};
</script>
<style lang="scss">
html,
body,
#app,
.home {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  overflow-y: scroll;
}
footer {
  height: 70px;
  border-top: 1px solid #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
</style>
